﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using Sector7.Medical.EntityType;
using Sector7.Framework.EntityType;

namespace Sector7.Medical.Services
{
    // 注意: 使用“重构”菜单上的“重命名”命令，可以同时更改代码和配置文件中的接口名“ITransferService”。
    [ServiceContract]
    public interface ITransferService
    {
        /// <summary>
        /// 上传文件
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        [OperationContract]
        TransferResult UploadFile(TransferParameter param);

        /// <summary>
        /// 下载文件
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        [OperationContract]
        TransferResult DownloadFile(TransferParameter param);

        /// <summary>
        /// 删除文件
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        [OperationContract]
        TransferResult DeleteFile(TransferParameter param);
    }
}
